Set

Function

This API is used to reset system default configuration.

Request Message

See Maintenance > Load Default Parameter > Range > Parameter Description > Table 1 for parameter description.

Sample:

POST /API/Maintenance/Reset/Set HTTP/1.1
{
    "version":"1.0",
    "data":
    {
        "base_secondary_authentication":
        {
            "seq":1,
            "cipher":"r8zCQd+EQpuhKY2bKSZhEK/mkpeEzTRVlgDwiepew8k="
        },
        "channel":true,
        "record":true,
        "alarm":false,
        "network":false,
        "storage":false,
        "system":false
    }
}

Sample2 Click the button to restore the board side parameters default (cloud dedicated):

POST /API/Maintenance/Reset/Set HTTP/1.1
{
    "version": "1.0",
    "data": {
        "base_secondary_authentication": {
            "seq": 2,
            "cipher": "3RN5RSnOvcXHWW+eFZ5niNePnHywPq9ibTyDAVefhOQ="
        },
        "factory_type": "factory_defaults"
    }
}

Sample3 Set default options for hardware recovery (Cloud dedicated):

POST /API/Maintenance/Reset/Set HTTP/1.1
{
    "version": "1.0",
    "data": {
        "reset_mode": ["factory_defaults"],
        "format_hdd_switch": true
    }
}

Response Message

None.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {}
}

Error Code

See Response Messages Body and Common error_code for more information.